.class Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$4;
.super Ljava/lang/Object;
.source "UserInfoMainActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 292
    iput-object p1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 6
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 296
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mType:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$900(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    move-result-object v0

    sget-object v1, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_User:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    if-ne v0, v1, :cond_2b

    .line 297
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$300(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTypes:Ljava/util/List;
    invoke-static {v1}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$1000(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Ljava/util/List;

    move-result-object v1

    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mType:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;
    invoke-static {v2}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$900(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    move-result-object v2

    invoke-interface {v1, v2}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->scrollToHome(I)V

    .line 298
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    const-wide/16 v2, 0xa

    # invokes: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->expandHeader(J)V
    invoke-static {v0, v2, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$1100(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;J)V

    .line 302
    :goto_2a
    return-void

    .line 301
    :cond_2b
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mViewPager:Landroid/support/v4/view/ViewPager;
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$200(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$4;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    # getter for: Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTypes:Ljava/util/List;
    invoke-static {v1}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->access$1000(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Ljava/util/List;

    move-result-object v1

    sget-object v2, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_User:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-interface {v1, v2}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    goto :goto_2a
.end method
